<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: SystemSharp.Common.TypeConversions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_system_sharp_1_1_common_1_1_type_conversions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_system_sharp_1_1_common_1_1_type_conversions-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SystemSharp.Common.TypeConversions Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac96730743b7343a8b51c33bda3cdf615"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615">ETypeClass</a> { <br/>
&#160;&#160;<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615a27226c864bac7454a8504f8edb15d95b">ETypeClass.Boolean</a>, 
<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615a299f27fb748d9464436da8918f28ff7d">ETypeClass.SignedIntegral</a>, 
<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615ab884ededd6102987c8e5c97658e45640">ETypeClass.UnsignedIntegral</a>, 
<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615a22ae0e2b89e5e3d477f988cc36d3272b">ETypeClass.Float</a>, 
<br/>
&#160;&#160;<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615ad909d38d705ce75386dd86e611a82f5b">ETypeClass.Double</a>, 
<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615acf20423ed48998082c20099488a0917c">ETypeClass.Enum</a>, 
<a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615a6311ae17c1ee52b36e68aaf4ad066387">ETypeClass.Other</a>
<br/>
 }</td></tr>
<tr class="separator:ac96730743b7343a8b51c33bda3cdf615"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae0828f2f0a646f89f0cbc672d875e36a"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ae0828f2f0a646f89f0cbc672d875e36a">ToDouble</a> (object v)</td></tr>
<tr class="memdesc:ae0828f2f0a646f89f0cbc672d875e36a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>v</em>  to IEEE 754 double precision format, possibly with loss of precision or overflow.  <a href="#ae0828f2f0a646f89f0cbc672d875e36a">More...</a><br/></td></tr>
<tr class="separator:ae0828f2f0a646f89f0cbc672d875e36a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96f464993cf1d01eb0118ad34a65d266"><td class="memItemLeft" align="right" valign="top">static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a96f464993cf1d01eb0118ad34a65d266">ToLong</a> (object v)</td></tr>
<tr class="memdesc:a96f464993cf1d01eb0118ad34a65d266"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>v</em>  to "long" datatype, possibly with loss of precision or overflow.  <a href="#a96f464993cf1d01eb0118ad34a65d266">More...</a><br/></td></tr>
<tr class="separator:a96f464993cf1d01eb0118ad34a65d266"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ed7e6044e799f6117334f820f376e91"><td class="memItemLeft" align="right" valign="top">static ulong&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a7ed7e6044e799f6117334f820f376e91">ToULong</a> (object v)</td></tr>
<tr class="memdesc:a7ed7e6044e799f6117334f820f376e91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>v</em>  to "ulong" datatype, possibly with loss of precision or overflow.  <a href="#a7ed7e6044e799f6117334f820f376e91">More...</a><br/></td></tr>
<tr class="separator:a7ed7e6044e799f6117334f820f376e91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2079e7c2e35681455b8a7bae2718a2d7"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a2079e7c2e35681455b8a7bae2718a2d7">ConvertToEnum</a> (long src, Type dstType)</td></tr>
<tr class="memdesc:a2079e7c2e35681455b8a7bae2718a2d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to the enumeration literal of <em>dstType</em>  whose ordinal number is <em>src</em> . Values being a combination of multiple literals of a [Flag] enum are NOT supported.  <a href="#a2079e7c2e35681455b8a7bae2718a2d7">More...</a><br/></td></tr>
<tr class="separator:a2079e7c2e35681455b8a7bae2718a2d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eea9d1e5789cf038f95a6ff54fe955b"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a5eea9d1e5789cf038f95a6ff54fe955b">ConvertLong</a> (long src, Type dstType)</td></tr>
<tr class="memdesc:a5eea9d1e5789cf038f95a6ff54fe955b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a5eea9d1e5789cf038f95a6ff54fe955b">More...</a><br/></td></tr>
<tr class="separator:a5eea9d1e5789cf038f95a6ff54fe955b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf3a2c45456ea98ed2e0c59e9c2319b"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#adbf3a2c45456ea98ed2e0c59e9c2319b">ConvertLong</a> (long src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:adbf3a2c45456ea98ed2e0c59e9c2319b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#adbf3a2c45456ea98ed2e0c59e9c2319b">More...</a><br/></td></tr>
<tr class="separator:adbf3a2c45456ea98ed2e0c59e9c2319b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31b65e4aa26a131e580684c949503d1f"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a31b65e4aa26a131e580684c949503d1f">ConvertULong</a> (ulong src, Type dstType)</td></tr>
<tr class="memdesc:a31b65e4aa26a131e580684c949503d1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a31b65e4aa26a131e580684c949503d1f">More...</a><br/></td></tr>
<tr class="separator:a31b65e4aa26a131e580684c949503d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39827bb6a26b02f3f8837429f9bf99d5"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a39827bb6a26b02f3f8837429f9bf99d5">ConvertULong</a> (ulong src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:a39827bb6a26b02f3f8837429f9bf99d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a39827bb6a26b02f3f8837429f9bf99d5">More...</a><br/></td></tr>
<tr class="separator:a39827bb6a26b02f3f8837429f9bf99d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85d2e82c0f9265a3f9d12a4cda6a4941"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a85d2e82c0f9265a3f9d12a4cda6a4941">ConvertSigned</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_signed.html">Signed</a> src, Type dstType)</td></tr>
<tr class="memdesc:a85d2e82c0f9265a3f9d12a4cda6a4941"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a85d2e82c0f9265a3f9d12a4cda6a4941">More...</a><br/></td></tr>
<tr class="separator:a85d2e82c0f9265a3f9d12a4cda6a4941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af35bc7f674261294d22778c5296f02ac"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#af35bc7f674261294d22778c5296f02ac">ConvertSigned</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_signed.html">Signed</a> src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:af35bc7f674261294d22778c5296f02ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#af35bc7f674261294d22778c5296f02ac">More...</a><br/></td></tr>
<tr class="separator:af35bc7f674261294d22778c5296f02ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a921a9eb9ef3fb774ee25eb13d3634caa"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a921a9eb9ef3fb774ee25eb13d3634caa">ConvertUnsigned</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_unsigned.html">Unsigned</a> src, Type dstType)</td></tr>
<tr class="memdesc:a921a9eb9ef3fb774ee25eb13d3634caa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a921a9eb9ef3fb774ee25eb13d3634caa">More...</a><br/></td></tr>
<tr class="separator:a921a9eb9ef3fb774ee25eb13d3634caa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acee770fef21eb7ca41b5642c9913f5e0"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#acee770fef21eb7ca41b5642c9913f5e0">ConvertUnsigned</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_unsigned.html">Unsigned</a> src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:acee770fef21eb7ca41b5642c9913f5e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#acee770fef21eb7ca41b5642c9913f5e0">More...</a><br/></td></tr>
<tr class="separator:acee770fef21eb7ca41b5642c9913f5e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4080c3194260bf051878967bcbe5305d"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a4080c3194260bf051878967bcbe5305d">ConvertSFix</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_s_fix.html">SFix</a> src, Type dstType)</td></tr>
<tr class="memdesc:a4080c3194260bf051878967bcbe5305d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a4080c3194260bf051878967bcbe5305d">More...</a><br/></td></tr>
<tr class="separator:a4080c3194260bf051878967bcbe5305d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61666a2c6aa07bdfe56625005b818ecd"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a61666a2c6aa07bdfe56625005b818ecd">ConvertSFix</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_s_fix.html">SFix</a> src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:a61666a2c6aa07bdfe56625005b818ecd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a61666a2c6aa07bdfe56625005b818ecd">More...</a><br/></td></tr>
<tr class="separator:a61666a2c6aa07bdfe56625005b818ecd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9018bbb6e55c2bc49aec13269aeb2a7b"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a9018bbb6e55c2bc49aec13269aeb2a7b">ConvertUFix</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_u_fix.html">UFix</a> src, Type dstType)</td></tr>
<tr class="memdesc:a9018bbb6e55c2bc49aec13269aeb2a7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a9018bbb6e55c2bc49aec13269aeb2a7b">More...</a><br/></td></tr>
<tr class="separator:a9018bbb6e55c2bc49aec13269aeb2a7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9471d4fee997153da2dac91f40e13c6b"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a9471d4fee997153da2dac91f40e13c6b">ConvertUFix</a> (<a class="el" href="struct_system_sharp_1_1_data_types_1_1_u_fix.html">UFix</a> src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:a9471d4fee997153da2dac91f40e13c6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a9471d4fee997153da2dac91f40e13c6b">More...</a><br/></td></tr>
<tr class="separator:a9471d4fee997153da2dac91f40e13c6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53d0dc861c8b2c7dfff2378a20507ec2"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a53d0dc861c8b2c7dfff2378a20507ec2">ConvertDouble</a> (double src, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:a53d0dc861c8b2c7dfff2378a20507ec2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a53d0dc861c8b2c7dfff2378a20507ec2">More...</a><br/></td></tr>
<tr class="separator:a53d0dc861c8b2c7dfff2378a20507ec2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73af19b1598538dd8f256f9fbff60929"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a73af19b1598538dd8f256f9fbff60929">ConvertValue</a> (object srcValue, Type dstType)</td></tr>
<tr class="memdesc:a73af19b1598538dd8f256f9fbff60929"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>srcValue</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a73af19b1598538dd8f256f9fbff60929">More...</a><br/></td></tr>
<tr class="separator:a73af19b1598538dd8f256f9fbff60929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a118555968bb168f07c7d23457318b159"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a118555968bb168f07c7d23457318b159">ConvertValue</a> (object srcValue, <a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</td></tr>
<tr class="memdesc:a118555968bb168f07c7d23457318b159"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>srcValue</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow.  <a href="#a118555968bb168f07c7d23457318b159">More...</a><br/></td></tr>
<tr class="separator:a118555968bb168f07c7d23457318b159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0413aa989ca135e305c5d8a26596311"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#af0413aa989ca135e305c5d8a26596311">ConvertArgumentsAndInvoke</a> (this MethodBase method, object instance, params object[] args)</td></tr>
<tr class="memdesc:af0413aa989ca135e305c5d8a26596311"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts each parameter of <em>args</em>  to the type expected by <em>method</em>  and invokes <em>method</em>  on <em>instance</em> .  <a href="#af0413aa989ca135e305c5d8a26596311">More...</a><br/></td></tr>
<tr class="separator:af0413aa989ca135e305c5d8a26596311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20891d10ee852e383ccacd8a9c645b8b"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a20891d10ee852e383ccacd8a9c645b8b">PrimitiveAdd</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a20891d10ee852e383ccacd8a9c645b8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds <em>v1</em>  and <em>v2</em>  either by primitive addition or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a20891d10ee852e383ccacd8a9c645b8b">More...</a><br/></td></tr>
<tr class="separator:a20891d10ee852e383ccacd8a9c645b8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d41d5e4afbba7f55c0c515fd1289bc7"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a3d41d5e4afbba7f55c0c515fd1289bc7">PrimitiveAnd</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a3d41d5e4afbba7f55c0c515fd1289bc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes bitwise "and" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a3d41d5e4afbba7f55c0c515fd1289bc7">More...</a><br/></td></tr>
<tr class="separator:a3d41d5e4afbba7f55c0c515fd1289bc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92c73a4d8da28797d1231bccd300b0b2"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a92c73a4d8da28797d1231bccd300b0b2">PrimitiveOr</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a92c73a4d8da28797d1231bccd300b0b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes bitwise "or" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a92c73a4d8da28797d1231bccd300b0b2">More...</a><br/></td></tr>
<tr class="separator:a92c73a4d8da28797d1231bccd300b0b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31d6bd52e550357b005565ca9ad994ff"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a31d6bd52e550357b005565ca9ad994ff">PrimitiveXor</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a31d6bd52e550357b005565ca9ad994ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes bitwise "xor" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a31d6bd52e550357b005565ca9ad994ff">More...</a><br/></td></tr>
<tr class="separator:a31d6bd52e550357b005565ca9ad994ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6074fb26ef0c57db5bdbe0a6fae38ae3"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a6074fb26ef0c57db5bdbe0a6fae38ae3">PrimitiveSub</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a6074fb26ef0c57db5bdbe0a6fae38ae3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtracts <em>v1</em>  and <em>v2</em>  either by primitive subtraction or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a6074fb26ef0c57db5bdbe0a6fae38ae3">More...</a><br/></td></tr>
<tr class="separator:a6074fb26ef0c57db5bdbe0a6fae38ae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7627d6c739ae99f25ab35addd5a240aa"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a7627d6c739ae99f25ab35addd5a240aa">PrimitiveMul</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a7627d6c739ae99f25ab35addd5a240aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiplies <em>v1</em>  and <em>v2</em>  either by primitive multiplaction or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a7627d6c739ae99f25ab35addd5a240aa">More...</a><br/></td></tr>
<tr class="separator:a7627d6c739ae99f25ab35addd5a240aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a973357edbfa83160a5ac55c3c3b8b1f0"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a973357edbfa83160a5ac55c3c3b8b1f0">PrimitiveDiv</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a973357edbfa83160a5ac55c3c3b8b1f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divides <em>v1</em>  and <em>v2</em>  either by primitive division or by invoking an appropriate operator. Returns null if either operand is null. Returns 0 in the representation of <em>v1</em> 's type in case of division by zero.  <a href="#a973357edbfa83160a5ac55c3c3b8b1f0">More...</a><br/></td></tr>
<tr class="separator:a973357edbfa83160a5ac55c3c3b8b1f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9bf3c55d16cf5aa07eeac08b9795a16"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ae9bf3c55d16cf5aa07eeac08b9795a16">PrimitiveRem</a> (object v1, object v2)</td></tr>
<tr class="memdesc:ae9bf3c55d16cf5aa07eeac08b9795a16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the modulus of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. Returns 0 in the representation of <em>v1</em> 's type in case of division by zero.  <a href="#ae9bf3c55d16cf5aa07eeac08b9795a16">More...</a><br/></td></tr>
<tr class="separator:ae9bf3c55d16cf5aa07eeac08b9795a16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e22d6c8f277acf5ff8d5536db3a1a9d"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a3e22d6c8f277acf5ff8d5536db3a1a9d">PrimitiveShl</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a3e22d6c8f277acf5ff8d5536db3a1a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "shift left" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a3e22d6c8f277acf5ff8d5536db3a1a9d">More...</a><br/></td></tr>
<tr class="separator:a3e22d6c8f277acf5ff8d5536db3a1a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a239a00c66008678f435001b92d0e0dfb"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a239a00c66008678f435001b92d0e0dfb">PrimitiveShr</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a239a00c66008678f435001b92d0e0dfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "shift right" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a239a00c66008678f435001b92d0e0dfb">More...</a><br/></td></tr>
<tr class="separator:a239a00c66008678f435001b92d0e0dfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a041c4e892cb69b9e42a8eba71ad7d3d6"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a041c4e892cb69b9e42a8eba71ad7d3d6">PrimitiveLessThan</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a041c4e892cb69b9e42a8eba71ad7d3d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "less than" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a041c4e892cb69b9e42a8eba71ad7d3d6">More...</a><br/></td></tr>
<tr class="separator:a041c4e892cb69b9e42a8eba71ad7d3d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54807487aa62d118fee4c95c4a7118f5"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a54807487aa62d118fee4c95c4a7118f5">PrimitiveLessThanOrEqual</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a54807487aa62d118fee4c95c4a7118f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "less than or equal" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a54807487aa62d118fee4c95c4a7118f5">More...</a><br/></td></tr>
<tr class="separator:a54807487aa62d118fee4c95c4a7118f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb8192c90d430136b468bb70222b4e4d"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#adb8192c90d430136b468bb70222b4e4d">PrimitiveEqual</a> (object v1, object v2)</td></tr>
<tr class="memdesc:adb8192c90d430136b468bb70222b4e4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "equality" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#adb8192c90d430136b468bb70222b4e4d">More...</a><br/></td></tr>
<tr class="separator:adb8192c90d430136b468bb70222b4e4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a807ddec4f60f13350c92c2d47a0db8a4"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a807ddec4f60f13350c92c2d47a0db8a4">PrimitiveUnequal</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a807ddec4f60f13350c92c2d47a0db8a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "inequality" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a807ddec4f60f13350c92c2d47a0db8a4">More...</a><br/></td></tr>
<tr class="separator:a807ddec4f60f13350c92c2d47a0db8a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abee744ec5bcace669878ed22c88e5e31"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#abee744ec5bcace669878ed22c88e5e31">PrimitiveGreaterThanOrEqual</a> (object v1, object v2)</td></tr>
<tr class="memdesc:abee744ec5bcace669878ed22c88e5e31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "greater than or equal" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#abee744ec5bcace669878ed22c88e5e31">More...</a><br/></td></tr>
<tr class="separator:abee744ec5bcace669878ed22c88e5e31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05ff4ef7738b0edc23538a899e264373"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a05ff4ef7738b0edc23538a899e264373">PrimitiveGreaterThan</a> (object v1, object v2)</td></tr>
<tr class="memdesc:a05ff4ef7738b0edc23538a899e264373"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "greater than" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null.  <a href="#a05ff4ef7738b0edc23538a899e264373">More...</a><br/></td></tr>
<tr class="separator:a05ff4ef7738b0edc23538a899e264373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c9b9d8c50e166d19a90d0772513b47"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a20c9b9d8c50e166d19a90d0772513b47">PrimitiveNeg</a> (object v)</td></tr>
<tr class="memdesc:a20c9b9d8c50e166d19a90d0772513b47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Negates <em>v</em>  by primitive operation or by invoking an appropriate operator. Returns null if <em>v</em>  is null.  <a href="#a20c9b9d8c50e166d19a90d0772513b47">More...</a><br/></td></tr>
<tr class="separator:a20c9b9d8c50e166d19a90d0772513b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f5f948a9421321112bbba78e8258730"><td class="memItemLeft" align="right" valign="top">static object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#a1f5f948a9421321112bbba78e8258730">PrimitiveNot</a> (object v)</td></tr>
<tr class="memdesc:a1f5f948a9421321112bbba78e8258730"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes "logical not" of <em>v</em>  by primitive operation or by invoking an appropriate operator. Returns null if <em>v</em>  is null.  <a href="#a1f5f948a9421321112bbba78e8258730">More...</a><br/></td></tr>
<tr class="separator:a1f5f948a9421321112bbba78e8258730"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00033">33</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html#ac96730743b7343a8b51c33bda3cdf615">SystemSharp.Common.TypeConversions.ETypeClass</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615a27226c864bac7454a8504f8edb15d95b"></a>Boolean</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615a299f27fb748d9464436da8918f28ff7d"></a>SignedIntegral</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615ab884ededd6102987c8e5c97658e45640"></a>UnsignedIntegral</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615a22ae0e2b89e5e3d477f988cc36d3272b"></a>Float</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615ad909d38d705ce75386dd86e611a82f5b"></a>Double</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615acf20423ed48998082c20099488a0917c"></a>Enum</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac96730743b7343a8b51c33bda3cdf615a6311ae17c1ee52b36e68aaf4ad066387"></a>Other</em>&#160;</td><td class="fielddoc">
</td></tr>
</table>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00619">619</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af0413aa989ca135e305c5d8a26596311"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertArgumentsAndInvoke </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params object[]&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts each parameter of <em>args</em>  to the type expected by <em>method</em>  and invokes <em>method</em>  on <em>instance</em> . </p>
<dl class="section return"><dt>Returns</dt><dd>method call return value, or null if void method</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if method or args is null, if instance is required and null, or if some method argument is required and null</td></tr>
    <tr><td class="paramname">ArgumentOutOfRangeException</td><td>if parameter count inside args array does not match method parameter count</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if unknown/impossible conversion from any argument</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00588">588</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a53d0dc861c8b2c7dfff2378a20507ec2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertDouble </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00406">406</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a5eea9d1e5789cf038f95a6ff54fe955b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertLong </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00113">113</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="adbf3a2c45456ea98ed2e0c59e9c2319b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertLong </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00156">156</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a4080c3194260bf051878967bcbe5305d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertSFix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_s_fix.html">SFix</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00299">299</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a61666a2c6aa07bdfe56625005b818ecd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertSFix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_s_fix.html">SFix</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00332">332</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a85d2e82c0f9265a3f9d12a4cda6a4941"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertSigned </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_signed.html">Signed</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00229">229</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="af35bc7f674261294d22778c5296f02ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertSigned </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_signed.html">Signed</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00246">246</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a2079e7c2e35681455b8a7bae2718a2d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertToEnum </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to the enumeration literal of <em>dstType</em>  whose ordinal number is <em>src</em> . Values being a combination of multiple literals of a [Flag] enum are NOT supported. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>ordinal value</td></tr>
    <tr><td class="paramname">dstType</td><td>target enumeration type</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">ArgumentException</td><td>if <em>dstType</em>  is not an enum</td></tr>
    <tr><td class="paramname">ArgumentOutOfRangeException</td><td>if there is no corresponding literal</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00083">83</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a9018bbb6e55c2bc49aec13269aeb2a7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertUFix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_u_fix.html">UFix</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00352">352</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a9471d4fee997153da2dac91f40e13c6b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertUFix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_u_fix.html">UFix</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00385">385</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a31b65e4aa26a131e580684c949503d1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertULong </td>
          <td>(</td>
          <td class="paramtype">ulong&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00178">178</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a39827bb6a26b02f3f8837429f9bf99d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertULong </td>
          <td>(</td>
          <td class="paramtype">ulong&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00209">209</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a921a9eb9ef3fb774ee25eb13d3634caa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertUnsigned </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_unsigned.html">Unsigned</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00264">264</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="acee770fef21eb7ca41b5642c9913f5e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertUnsigned </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_system_sharp_1_1_data_types_1_1_unsigned.html">Unsigned</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>src</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00281">281</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a73af19b1598538dd8f256f9fbff60929"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertValue </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>srcValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>srcValue</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types and enum types are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion from type of <em>srcValue</em>  to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00432">432</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a118555968bb168f07c7d23457318b159"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.ConvertValue </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>srcValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&#160;</td>
          <td class="paramname"><em>dstType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>srcValue</em>  to <em>dstType</em>  datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix, UFix and StdLogicVector are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>dstType</em>  is null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion from type of <em>srcValue</em>  to <em>dstType</em> </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00517">517</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a20891d10ee852e383ccacd8a9c645b8b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveAdd </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adds <em>v1</em>  and <em>v2</em>  either by primitive addition or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00641">641</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a3d41d5e4afbba7f55c0c515fd1289bc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveAnd </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes bitwise "and" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00655">655</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a973357edbfa83160a5ac55c3c3b8b1f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveDiv </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Divides <em>v1</em>  and <em>v2</em>  either by primitive division or by invoking an appropriate operator. Returns null if either operand is null. Returns 0 in the representation of <em>v1</em> 's type in case of division by zero. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if division by zero was detected, but 0 could not be converted the <em>v1</em> 's type</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00726">726</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="adb8192c90d430136b468bb70222b4e4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveEqual </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "equality" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00820">820</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a05ff4ef7738b0edc23538a899e264373"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveGreaterThan </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "greater than" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00859">859</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="abee744ec5bcace669878ed22c88e5e31"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveGreaterThanOrEqual </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "greater than or equal" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00846">846</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a041c4e892cb69b9e42a8eba71ad7d3d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveLessThan </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "less than" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00794">794</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a54807487aa62d118fee4c95c4a7118f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveLessThanOrEqual </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "less than or equal" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00807">807</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7627d6c739ae99f25ab35addd5a240aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveMul </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Multiplies <em>v1</em>  and <em>v2</em>  either by primitive multiplaction or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00711">711</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a20c9b9d8c50e166d19a90d0772513b47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveNeg </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Negates <em>v</em>  by primitive operation or by invoking an appropriate operator. Returns null if <em>v</em>  is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00872">872</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a1f5f948a9421321112bbba78e8258730"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveNot </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "logical not" of <em>v</em>  by primitive operation or by invoking an appropriate operator. Returns null if <em>v</em>  is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00885">885</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a92c73a4d8da28797d1231bccd300b0b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveOr </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes bitwise "or" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00669">669</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ae9bf3c55d16cf5aa07eeac08b9795a16"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveRem </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes the modulus of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. Returns 0 in the representation of <em>v1</em> 's type in case of division by zero. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if division by zero was detected, but 0 could not be converted the <em>v1</em> 's type</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00748">748</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a3e22d6c8f277acf5ff8d5536db3a1a9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveShl </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "shift left" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00768">768</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a239a00c66008678f435001b92d0e0dfb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveShr </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "shift right" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00781">781</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a6074fb26ef0c57db5bdbe0a6fae38ae3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveSub </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Subtracts <em>v1</em>  and <em>v2</em>  either by primitive subtraction or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00697">697</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a807ddec4f60f13350c92c2d47a0db8a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveUnequal </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes "inequality" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00833">833</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a31d6bd52e550357b005565ca9ad994ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static object SystemSharp.Common.TypeConversions.PrimitiveXor </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes bitwise "xor" of <em>v1</em>  and <em>v2</em>  either by primitive operation or by invoking an appropriate operator. Returns null if either operand is null. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RuntimeBinderException</td><td>if there is no operator implemented to perform the operation</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00683">683</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ae0828f2f0a646f89f0cbc672d875e36a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static double SystemSharp.Common.TypeConversions.ToDouble </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>v</em>  to IEEE 754 double precision format, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix and UFix are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>v</em>  == null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion from type of <em>v</em> .</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00042">42</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a96f464993cf1d01eb0118ad34a65d266"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static long SystemSharp.Common.TypeConversions.ToLong </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>v</em>  to "long" datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix and UFix are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>v</em>  == null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion from type of <em>v</em> .</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00055">55</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7ed7e6044e799f6117334f820f376e91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ulong SystemSharp.Common.TypeConversions.ToULong </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <em>v</em>  to "ulong" datatype, possibly with loss of precision or overflow. </p>
<p>Currently, conversions between all primitive numeric CIL types, enum types, and <a class="el" href="namespace_system.html">System</a>#-intrinsic datatypes Signed, Unsigned, SFix and UFix are supported.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>if <em>v</em>  == null</td></tr>
    <tr><td class="paramname">NotImplementedException</td><td>if there is no known conversion from type of <em>v</em> .</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_type_conversions_8cs_source.html#l00068">68</a> of file <a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_type_conversions_8cs_source.html">TypeConversions.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_system_sharp.html">SystemSharp</a></li><li class="navelem"><a class="el" href="namespace_system_sharp_1_1_common.html">Common</a></li><li class="navelem"><a class="el" href="class_system_sharp_1_1_common_1_1_type_conversions.html">TypeConversions</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:59 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
